package com.mali.malibackendproduct.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mali.malibackendmodel.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 132993
* @description 针对表【product(商品)】的数据库操作Mapper
* @createDate 2024-06-16 10:48:34
* @Entity com.mali.malibackendmodel.pojo.Product
*/
@Mapper
public interface ProductMapper extends BaseMapper<Product> {

    //修改状态为审核中
    int checking(@Param("productId") Long productId, @Param("updateTime") String updateTime);

    int passCheck(@Param("productId") Long productId, @Param("updateTime") String updateTime);

    int unPass(@Param("productId") Long productId, @Param("updateTime") String updateTime);

    List<Long> Ids(@Param("adminUserId")Long adminUserId,@Param("userId")Long userId);
}




